package org.fastsyncer.core.service;

import java.util.Map;

public interface ConfigService {
    
    /**
     * @Title: getSystemParams 
     * @Description: 获取系统参数
     * @throws Exception
     * @return: List<String>
     */
    Map<String, String> getSystemParams() throws Exception;
    
    /**
     * @Title: updateSystemParams 
     * @Description: 修改系统参数
     * @param params
     * @throws Exception
     * @return: String
     */
    String updateSystemParams(String params) throws Exception;
    
    /**
     * @Title: updateSystemPwd 
     * @Description: 修改管理员密码
     * @param oldPwd 旧密码
     * @param newPwd 新密码
     * @throws Exception
     * @return: String
     */
    String updateAdminPwd(String oldPwd, String newPwd) throws Exception;
}
